//
//  IMIVolumeGain.h
//  Pods
//
//  Created by 创米 on 2018/10/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define IMI_MIX_MAXVOLUME 128

@interface IMIVolumeGain : NSObject

+ (void)setAudioGain_U8:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_S8:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_S16LSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_S16MSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_S32LSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_S32MSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_F32LSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setAudioGain_F32MSB:(NSData *)data vol:(NSInteger)gain;

+ (void)setVolumeControl_S8:(short *)buff len:(int)len vol:(float)gain;

+ (void)setVolumeControl_S16:(short *)buff len:(int)len vol:(float)gain;

@end

NS_ASSUME_NONNULL_END
